//
//  QDScrollLabelView.m
//  simulateQuickDoctor
//
//  Created by 胡卓 on 2017/3/24.
//  Copyright © 2017年 PipiXia. All rights reserved.
//

#import "QDScrollLabelView.h"
#import "LSPaoMaView.h"


@implementation QDScrollLabelView

-(instancetype) initWithCoder:(NSCoder *)aDecoder {
    
    if(self = [super initWithCoder:aDecoder]){
        [self showGroupInfomation];
    }
    return self;
}


//显示滚动label
-(void) showGroupInfomation {
    
    NSString *labelText = @"【组名:皮皮虾组   ︿(￣︶￣)︿皮皮虾，我们走~~~】【组长: 🙃梁家伟😊 组员:😶朱泽😎  😇胡卓🤓  🤗姚华杰😋】";
    
    LSPaoMaView *paomaView = [[LSPaoMaView alloc]initWithFrame:CGRectMake(0, 0, self.bounds.size.width,39) title:labelText];
    
    //设置背景颜色
    paomaView.backgroundColor = [UIColor whiteColor];
    
    [self addSubview:paomaView];
}
@end
